/**
 * Date: Oct 13, 2005
 * Time: 4:35:10 AM
 * <p/>
 * $Id: FileDesc.java,v 1.3 2005/10/16 14:14:57 olu Exp $
 */
package tripleo.framework.fs;

public interface FileDesc {
	WriteHandle openWrite(int mode) throws FileOpFailure; // look in Modes.java
	ReadHandle openRead() throws FileOpFailure;
	void unlink() throws FileOpFailure;
	String name();
	boolean exists();
	void create() throws FileOpFailure; // mainly for dirs.
	void move(FileDesc fd2) throws FileOpFailure;
}
